<template>
    <div>
        <h1>{{getuser.username ? getuser.username : '游客'}} 你好,欢迎光临！！！</h1>
    </div>
</template>

<script>
import Vuex from "vuex";
export default {
    computed: {
        ...Vuex.mapGetters({
            getuser: "user/getuser",
        }),
    },
};
</script>

<style scoped>
.el-button {
    margin-top: 20px;
}
</style>
